<?php
/**
 * Created by PhpStorm.
 * User: zhangjian37
 * Date: 2017/1/20
 * Time: 11:26
 */

date_default_timezone_set("Asia/Shanghai");

$dt = $_GET['dt'];
//$dt='2017-01-01';
//echo $dt;

//得到天气和宜忌数据
$result = array();

$result['curdt'] = date("m",strtotime($dt)).'月'.date("d",strtotime($dt)).'日';

$curdate = date("Ymd",strtotime($dt));


$result['yi_list'] = '破屋 坏垣 解除 余事勿取 解除 余事勿取 余事勿取';
$result['ji_list'] = '嫁娶 安葬';
echo json_encode($result);